home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: New Zealand Amiga Users Group
/
New Zealand Amiga Users Group Newsdisk v03 (1987-02)(NZAmigaUG).zip
/
New Zealand Amiga Users Group Newsdisk v03 (1987-02)(NZAmigaUG).adf
/
BASIC
/
Contour.Readme
< prev
next >
Wrap
Text File
|
1993-12-02
|
2KB
|
58 lines
CONTOUR is based on a routine CONDOT from BYTE, Nov 1883, which will
draw dotted contours for a table of observations. By making the scale fine
enough, the dotted contours merge into lines.
Contour runs as an AmigaBasic program, and is started in the standard
way for Basic programs. It then asks a series of questions about what you
want plotted, and how, then it plots. Because it has a bug at present of not
properly synchronising the vertical contour to the scale, there are various
tidying up things that arent yet done.
File: The file to be plotted can be anywhere, but if not on the same
subdirectory as CONTOUR, must have enough pathname for BASIC to
find it.
The file is ASCII, & must be formatted as follows:-
column
0 1 2 3 4 5 .....
1
2 data
row 3
4
.
.
row 0/column 0 - contain the physical values of the data in
the column/row.
eg, y0-col may contain distances in N dirn
x0-row may contain distances in E dirn
the data might be heights above datum, at those coords
The file would normally be made under ED, or fed in from a foriegn
source, or however you like.
A file to try with, called TESTCONTOUR, is available on this disk.
TESTCONTOUR is a frequency of observation of various observations of
simultaneous vapour pressures and air temperature, at some place. It gives
a slightly lumpy topleft edge because the cell sizeis a bit coarse.
Scale names are user choice - make them short because there isn't much room.
Choose x- and y- ranges as you feel. The program is supposed to be able to
cope with your choice lying outside or inside the table values in the data
file. But you may have to shovel the graph up or down after you have had a
try.
S2, S3 -- these unexplained symbols refer to the fineness of dot plotting.
- try 0.2, 0.2 as a first try, then smaller numbers later if the
result is too coarse. Plotting will then take longer.
Any further explanations will be added in a cleaned-up version designed to
help easier trial plotting, and perhaps an on-board printer handler.
H.A.Trethowen